package com.yanmushi.ms.config;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * @Author yinlei
 * @Date 2018/3/28
 * @Desc todo
 */
@SpringBootApplication
@EnableConfigServer
@EnableDiscoveryClient
public class ConfigApplication {

    private static final Logger log = LoggerFactory.getLogger(ConfigApplication.class);

    public static void main(String[] args) {
        log.debug("start server");
        SpringApplication.run(ConfigApplication.class, args);
    }
}
